package com.shuai.robot.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;

@Data
@Validated
public class StreamChatRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @Length(max = 2000, message = "问题长度不能超2000字")
    private String question;

    private long sseEmitterId;

    private long sessionId;
}
